package com.pentalog.bo.impl;

import org.springframework.stereotype.Service;

import com.pentalog.bo.BookBo;
import com.pentalog.domain.Book;
import com.pentalog.domain.BookResponse;

@Service
public class BookBoImpl implements BookBo{
	public Book getBookByCode(String itemCode){
		Book book = new Book(itemCode);
		book.setBookName("JAVA WEB SERVICE");
		book.setAuthor("Pentalog VN");
		return book;
	}
	public BookResponse getBookResponseByCode(String itemCode){
		BookResponse book = new BookResponse();
		book.setItemCode(itemCode);
		book.setBookName("JAVA WEB SERVICE");
		book.setAuthor("Pentalog VN");
		return book;
	}
}
